#include "userwindow.h"
#include "ui_userwindow.h"

UserWindow::UserWindow(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::UserWindow){
    ui->setupUi(this);

    connect(ui->btnQuit, &QPushButton::clicked, this, [=](){
        emit Login(INDEX_LOGIN);
    });
}

UserWindow::~UserWindow()
{
    delete ui;
}
